From: Glenn Morris Date: Thu, 2 Feb 2012 04:13:02 +0000 (-0800) Subject: * etc/NEWS: prog-mode-hook was documented. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~2326^2~3261^2~5 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c2f03a4aad0d74fc04ca64f4f710462209e4f1ca;p=emacs.git * etc/NEWS: prog-mode-hook was documented. --- diff --git a/etc/NEWS b/etc/NEWS index 0138fa5192e..67aee36461b 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1283,6 +1283,7 @@ syntactic rules. *** `prog-mode' is a new major mode from which programming modes should be derived. ++++ **** `prog-mode-hook' can be used to enable features for programming modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable on-the-fly spell checking for comments and strings.